package com.castile.sdk.nifi.client.api;

import com.castile.sdk.nifi.client.api.impl.DioNiFiClientService;
import com.castile.sdk.nifi.client.config.NiFiConfig;
import org.springframework.stereotype.Service;

/**
 * @author castile
 * @date 2025-05-12 下午11:50
 */
@Service
public class DIONiFiServiceFactory implements NiFiServiceFactory<NiFiClientService> {
    @Override
    public NiFiClientService createNiFiService(NiFiConfig nifiConfig) {
        return new DioNiFiClientService.Builder().config(nifiConfig).build();
    }
}
